package com.handc.springcloud.pojo;


import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor //提供无参构造方法
@Accessors(chain = true) //链式写法
public class Student implements Serializable {

    private Long id;
    private String name;
    private String db_name; //那个数据库的数据

    public Student(String name) {
        this.name = name;
    }
}
